package com.qingke.beSuper2.pojo;

import java.util.List;

public class Answer {
	long id ;
	String value;
	Player player;
	Player from;
	public  Answer(long id ,String value,Player player){
		this.id = id ;
		this.value = value ;
		this.player = player;
	}
	boolean BestAnswer;
	long QuestionId;
	private List<Question> questions;
	public List<Question> getQuestions() {
		return questions;
	}
	public void setQuestions(List<Question> questions) {
		this.questions = questions;
	}
	private List<Answer> answers;
	public List<Answer> getAnswers() {
		return answers;
	}
	public void setAnswers(List<Answer> answers) {
		this.answers = answers;
	}
	private boolean isOpen;
	public boolean isOpen() {
		return isOpen;
	}
	public void setOpen(boolean open) {
		isOpen = open;
	}
	public boolean isBestAnswer() {
		return BestAnswer;
	}
	public void setBestAnswer(boolean bestAnswer) {
		BestAnswer = bestAnswer;
	}
	public long getQuestionId() {
		return QuestionId;
	}
	public void setQuestionId(long questionId) {
		QuestionId = questionId;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public Player getFrom() {
		return from;
	}
	public void setFrom(Player from) {
		this.from = from;
	}
	
}
